package com.cheyunkeji.er.bean.fast_evaluate;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Michael on 2017/4/23 22:45.
 */

public class CarBrandList {


    /**
     * code : 1
     * msg : null
     * data :
     * rows : 165
     */

    private int code;
    private Object msg;
    private int rows;
    private List<CarBrand> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getMsg() {
        return msg;
    }

    public void setMsg(Object msg) {
        this.msg = msg;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public List<CarBrand> getData() {
        return data;
    }

    public void setData(List<CarBrand> data) {
        this.data = data;
    }

    public static class CarBrand implements Serializable{
        /**
         * id : 1
         * name : 奥迪
         * initial : A
         * is_default：是否是默认品牌 1-是 0-否
         */

        private String id;
        private String name;

        public CarBrand(){}

        public CarBrand(String id, String name, String initial, int is_default) {
            this.id = id;
            this.name = name;
            this.initial = initial;
            this.is_default = is_default;
        }

        private String initial;
        private int is_default;

        @Override
        public String toString() {
            return "CarBrand{" +
                    "id='" + id + '\'' +
                    ", name='" + name + '\'' +
                    ", initial='" + initial + '\'' +
                    ", is_default=" + is_default +
                    '}';
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getInitial() {
            return initial;
        }

        public void setInitial(String initial) {
            this.initial = initial;
        }

        public int getIs_default() {
            return is_default;
        }

        public void setIs_default(int is_default) {
            this.is_default = is_default;
        }
    }
}
